package com.richapp.launcher.database.infrared.mode;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by jack on 2015/4/9 0009.
 * 家电类型
 */

@DatabaseTable(tableName = "machineType")
public class MachineType {

    @DatabaseField(generatedId = true)
    private int machineTypeId;  //主键Id

    @DatabaseField(columnName = "nameCh",canBeNull = false)
    private String nameCh;  //中文名称

    @DatabaseField(columnName = "nameEn",canBeNull = false)
    private String nameEn;  //英文名称

    @DatabaseField(columnName = "icon",canBeNull = false)
    private String icon;    //图标名


    public MachineType(){

    }

    public int getMachineTypeId() {
        return machineTypeId;
    }

    public void setMachineTypeId(int machineTypeId) {
        this.machineTypeId = machineTypeId;
    }

    public String getNameCh() {
        return nameCh;
    }

    public void setNameCh(String nameCh) {
        this.nameCh = nameCh;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
